<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/sys-tags" prefix="sys" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>

<title><s:text name="title_serchManager"></s:text></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="ja" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<base target="_self" />
<%@ include file="../common/header.jsp"%>
<link rel="stylesheet" type="text/css" href="${appPath}/css/searchManager.css" />
<link href="${appPath}/css/nav.css"rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${appPath}/js/searchManager.js"></script>
</head>
<body>
<%@ include file="../common/nav.jsp" %>

<div id="content1" class="content">
<p class="space2"></p>
<h1 class="font2" style="margin-left:50px"><s:text name="title_serchManager"></s:text>
&nbsp;&nbsp;&nbsp;&nbsp;</h1>


<%-- <table>
<tr>
<td><s:textfield id="name" name="name" style="margin-left:300px;"/><input type="button" id="searchBtn" value="检索" class="button2" /></td>
</tr>
</table> --%>
<input type="button" id="backLastBtn" onclick="self.location=document.referrer;" value="<s:text name="label_backButton"></s:text>" class="button1" />
<hr width="860px"/>
<p class="space2"></p>
<s:if test="searchList.size() > 0">
<s:form action="" id="searchForm" enctype="multipart/form-data" method="post" >
<table style="background: white; width:860px;margin-left: auto; margin-right: auto;" cellspacing="0">
<thead>
<tr bgcolor="#bbbbbb">

<td width="192px" height="50px" align="center" class="font1"> <s:text name="label_resourcesPicture"></s:text> </td>
<td width="192px" align="center" class="font1"> <s:text name="label_resourcesType"></s:text></td>
<td width="192px" align="center" class="font1" > <s:text name="label_goodsArea"></s:text> </td>
<td width="192px" align="center" class="font1"><s:text name="label_goodsPrice"></s:text></td>
<td width="192px" align="center" class="font1"><s:text name="label_operation"></s:text></td>
</tr>
</thead>
<tbody>
<s:iterator value="searchList" id="searchList" status="listStatus">
	<s:if test="#listStatus.odd == true">
<tr bgcolor="#f1f1f1">

<td width="192px" align="center" height="100px"> 
<!--  
<img id="imgFileIMG" alt=""  width="100" height="100" src="${appPath}/resource_img/resource/master/<s:property value="%{img}"/>"/>
-->
<div class="imgborder1">
<sys:image width="100" imagePath="${goods_img}"/>
</div>
</td>
<td width="192px" align="center"><s:label value="%{descriptionx}"/></td>
<td width="192px" align="center"><s:label value="%{name}"/></td>
<td width="192px" align="center"><s:label value="%{price}"/><s:label value="%{currency_mark}"/> </td>
<td width="192px" align="center"><a href="#" class="searchInfoSelect"><s:text name="label_choose"></s:text> </a><s:hidden value="%{goods_id}"/><s:hidden value="%{price}"/>
<s:textfield type="hidden" id="orderId" name="orderId" value="%{orderId}"/>
</td>
</tr>
</s:if>
<s:else>
<tr bgcolor="#cccccc">
<td width="192px" align="center"height="100px">
<!--  
<img id="imgFileIMG" alt=""  width="100" height="100" src="${appPath}/resource_img/resource/master/<s:property value="%{img}"/>"/>
-->
<div class="imgborder2">
<sys:image width="100" imagePath="${goods_img}"/>
</div>
</td>
<td width="192px" align="center"><s:label value="%{descriptionx}"/></td>
<td width="192px" align="center"><s:label value="%{name}"/></td>
<td width="192px" align="center"><s:label value="%{price}"/> <s:label value="%{currency_mark}"/> </td>
<td width="192px" align="center"><a href="#" class="searchInfoSelect"><s:text name="label_choose"></s:text> </a><s:hidden value="%{goods_id}"/><s:hidden value="%{price}"/>
<s:textfield type="hidden" id="orderId" name="orderId" value="%{orderId}"/>
</td>
</tr>

</s:else>
</s:iterator>
<tr>
<td colspan="6" height="30px"></td></tr>
</tbody>
</table>
</s:form>
</s:if>
</div>
<p class="space1"></p>
</body>
</html>